<template>
  <div class="empty-status-page">
    <img class="empty-icon" src="@/assets/images/empty-status.png" alt="" />
    <span style="color: #9597a0; font-size: 20px">{{ text }}</span>
  </div>
</template>
<script>
export default {
  name: "EmptyStatus",
  props: {
    text: {
      type: String,
      default: "暂无数据",
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="less">
.empty-status-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .empty-icon {
    width: 240px;
    height: 152px;
    flex-shrink: 0;
  }
}
</style>
